package com.zhida.chatservice;

import com.zhida.chatservice.config.WebSocketConfiguration;
import com.zhida.common.config.MvcConfig;
import com.zhida.common.config.RedisConfig;
import com.zhida.common.config.WebJsonConverterConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.Import;

@Import({MvcConfig.class,WebSocketConfiguration.class, RedisConfig.class, WebJsonConverterConfig.class})
@SpringBootApplication
@EnableCaching
public class ChatServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(ChatServiceApplication.class, args);
    }

}
